package com.books.service.book;


import com.books.model.entity.book.Ebook;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IEbookService {
    Ebook getById(Integer id);

    List<Ebook> loadAll();

    //(pageNow-1)*pageSize,pageSize
    PageInfo<Ebook> index(String title, Integer categoryId, Integer pageNum, Integer pageSize);
}
